package com.wkk.nursinghome.service;

import com.wkk.nursinghome.domain.Withdrawal;

import java.util.List;

public interface IWithdrawalService {
    //查询所有信息
    List<Withdrawal> selectAll();
    //新增退住人
    void addWithdrawal(Withdrawal withdrawal);
    //更新
    boolean updateWithdrawal(Withdrawal withdrawal);
    //号查询
    Withdrawal queryById(Integer id);
    //删除
    boolean deleteWithdrawalById(Integer id);
    //根据条件查询
    List<Withdrawal> selectByCondition(Withdrawal withdrawal);
}
